﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GenericTools.Configurations
{
    public class SystemSetting
    {
        /// <summary>
        /// Database id for the MTUHA Quarterly report of Mother Child Follow-up
        /// </summary>
        public const string MTUHA_MC_REPORT_ID = "MTUHA_MC_REPORT_ID";
        public const int MTUHA_MC_REPORT_INTERVAL_MONTHS = 3;

        public static string GetSetting(SystemConfig config)
        {
            string settingName = GetConfigurationName(config);
            return Utilities.GetSetting(settingName);
        }

        private static string GetConfigurationName(SystemConfig config)
        {
            switch (config)
            {
                case SystemConfig.MTUHA_MC_REPORT_ID: return MTUHA_MC_REPORT_ID;
            }
            return null;
        }
    }
}
